<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="http://richfaces.org/a4j"
	template="/layout/login.xhtml">

	<ui:define name="pageLayout">
		<h:form id="loginForm">
			<div style="padding: 0.4em 0.5em">
				<table>
					<tr>
						<td>
							<span><h:outputLabel for="username">#{messages['login.username']}:</h:outputLabel></span>
						</td>
						<td>
							<h:inputText id="username" value="#{identity.username}" size="13" />
							<div class="errors"><h:message for="username" /></div>
						</td>
					</tr>
					<tr>
						<td>
							<span><h:outputLabel for="password">#{messages['login.password']}:</h:outputLabel></span>
						</td>
						<td>
							<h:inputSecret id="password" value="#{identity.password}" size="13" />
						</td>
					</tr>
				</table>
			</div>
			<div class="buttonArea">
				<h:commandButton id="loginSubmit" action="#{identity.login}" value="#{messages['login.button.login']}" />
			</div>
		</h:form>
	</ui:define>

</ui:composition>
